\documentclass{article}
\usepackage{graphicx}

\begin{document}

% requires use of latex (not pdflatex)
% produces "Cannot determine size" error.
\includegraphics{badextension.ps}

\end{document}
